home *** CD-ROM | disk | FTP | other *** search
- RENDIR
-
- (Rename Directory) John Dickinson
- Command PC Magazine Vol 5, No 7
-
- Copyright 1986 Ziff-Davis Publishing Company
-
- Purpose: Permits renaming subdirectories directly,without creating a
- new directory, moving the contents of the old one into it, and then
- removing the old directory.
-
-
- SYNTAX RENDIR [d:] [path] dirname1 dirname2
-
- dirname1 Name of the subdirectory to rename
- dirname2 New name for the subdirectory
-
-
- DESCRIPTION
-
- RENDIR renames subdirectories just like REN renames files. RENDIR will
- not rename the root directory, and in DOS 5.0, it won't let you rename
- the current directory. However, some versions of DOS (RENDIR will run
- under any version from 3.0 on) will let you rename the current
- directory. If this happens, or if you rename a directory that lies in
- the path to the current directory, DOS may tell you that one or more
- subdirectories are invalid. To correct the error, CD to the root
- directory of the drive, then back to the current directory. The source
- code for RENDIR is available on ZiffNet.
-
- EXAMPLES
-
- To rename the subdirectory WP to WPERFECT, type
-
- RENDIR WP WPERFECT
-
- To rename \WP\DOC to WP\WPFILES, type
-
- RENDIR \WP\DOC WPFILES
-
- ** Special Note: This utility is also a mentioned in the Ziff-Davis Press
- book "PC Magazine's DOS 5 Techniques and Utilities" by Jeff Prosise. Both
- this DOCumentation file and in the book's utility reference stand as correct.